<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="blog/default/header::head-fragment"></head>
<body>
<header th:replace="blog/default/header::header-fragment"></header>
<div class="widewrapper main">
    <div class="container" style="text-align: center">
        <p style="color: #0C9A9A">请选择一种主题，默认为主题一
<!--            <th:block th:if="${theme != null}">-->
<!--                <span th:value="${theme}">主题一</span>-->
<!--            </th:block>-->
        </p>
        <form method="get" th:action="@{/theme}">
            <select name="themeType">
                <option>主题一</option>
                <option>主题二</option>
                <option>主题三</option>
            </select>
            <button type="submit">切换主题</button>
        </form>
    </div>
</div>
<!-- 引入页脚footer-fragment -->
<footer th:replace="blog/default/footer::footer-fragment"></footer>
<script th:src="@{/blog/default/js/jquery.min.js}"></script>
<script th:src="@{/blog/default/js/bootstrap.min.js}"></script>
<script th:src="@{/blog/default/js/modernizr.js}"></script>
<script th:src="@{/blog/default/js/search.js}"></script>
</body>
</html>